package com.itany.service;

import com.itany.entity.ManagerUser;
import com.itany.entity.Role;

import java.util.List;
import java.util.Map;

public interface ManagerUserService {
    public ManagerUser findByUsernameAndPassword(String username,String password);
    public void modifyPassword(Integer id,String password);
    List<Map<String, Object>> queryByParams(String name);
    void insertManagerUser(String password, String name, Integer id, String ids);
    ManagerUser queryById(Integer id);
    void modifyManagerUser(String password, String name, Integer companyid, String ids, Integer id);
    Map<String,Object> queryRoles(Integer id);
    List<Map<String, Object>> queryList(Integer id);
}
